package com.qdu.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qdu.entity.Cotenancy;

/*
 *合租信息 
 * 
 */
public interface CotenancyMapper {
	void insert(Cotenancy cotenancy);
	
	void update(Cotenancy cotenancy);
	
	void delete(@Param("uid")String uid,@Param("hid")String hid);
	
	List<Cotenancy> getAllCotenancyByUid(String uid);  
	
	Cotenancy getOneCotenancyByUid(@Param("uid") String uid,@Param("hid") String hid);
	
	List<Cotenancy> getAllCotenancy();  
	
}
